﻿using CMS.Common.Enums;
using System.Collections.Generic;

namespace CMS.Business
{
    public interface IKeyValueList
    {
        List<BaseKeyValue> GetKeyValueList();

        List<BaseKeyValue> GetKeyValueListByCatogeryName(CatogeryNameEnum catogery);

        BaseKeyValue GetKeyValueByKeyId(int keyId);

        int GetKeyId(CatogeryNameEnum catogery, string value);

        List<BaseKeyValue> AddItems(List<BaseKeyValue> list, KeyValueItems includeItem);
    }
}
